FROM centos7-ssh

ADD $PWD/kkb/soft/jdk-8u141-linux-x64.tar.gz /kkb/install/
ENV JAVA_HOME /kkb/install/jdk1.8.0_141
ENV PATH $JAVA_HOME/bin:$PATH

ADD $PWD/kkb/soft/hadoop-3.1.4.tar.gz /kkb/install
ENV HADOOP_HOME /kkb/install/hadoop-3.1.4
ENV PATH $HADOOP_HOME/bin:$PATH

ADD $PWD/kkb/soft/apache-zookeeper-3.6.2-bin.tar.gz /kkb/install
ENV ZK_HOME /kkb/install/apache-zookeeper-3.6.2-bin
ENV PATH $ZK_HOME/bin:$PATH
